Skip to content

Fix grasshopper in rhino 8 failing to call python properly#206

Merged
jamesramsden-bh merged 3 commits intodevelopfrom
Python_Toolkit-#205-FixPYTHONHOME
Mar 16, 2026
Merged

Fix grasshopper in rhino 8 failing to call python properly#206
jamesramsden-bh merged 3 commits intodevelopfrom
Python_Toolkit-#205-FixPYTHONHOME

Conversation

@Tom-Kingstone
Copy link
Contributor

NOTE: Depends on

Issues addressed by this PR

Closes #205

Test files

Changelog

  • Changed calls to python install and run methods to set PYTHONHOME to "" to fix related rhino 8 grasshopper errors.

Additional comments

@Tom-Kingstone Tom-Kingstone self-assigned this Mar 11, 2026
@Tom-Kingstone Tom-Kingstone added the type:bug Error or unexpected behaviour label Mar 11, 2026
@Tom-Kingstone
Copy link
Contributor Author

@BHoMBot check required

@bhombot-ci
Copy link

bhombot-ci bot commented Mar 11, 2026

@Tom-Kingstone to confirm, the following actions are now queued:

  • check code-compliance
  • check documentation-compliance
  • check project-compliance
  • check core
  • check null-handling
  • check serialisation
  • check versioning
  • check installer

@Tom-Kingstone
Copy link
Contributor Author

@BHoMBot check core
@BHoMBot check compliance

@bhombot-ci
Copy link

bhombot-ci bot commented Mar 12, 2026

@Tom-Kingstone to confirm, the following actions are now queued:

  • check core
  • check code-compliance
  • check documentation-compliance
  • check project-compliance
  • check branch-compliance
  • check dataset-compliance
  • check copyright-compliance

Copy link
Contributor

@jamesramsden-bh jamesramsden-bh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested as below:

  • Drop in Python 3 component, wait for it to install
  • Run Install LBT env
  • Run Python String with LBT TK and some simple Python code
  • Run the Python 3 component with some simple Python code
    No issues encountered. Happy to approve.

@jamesramsden-bh
Copy link
Contributor

@BHoMBot check ready-to-merge

@bhombot-ci
Copy link

bhombot-ci bot commented Mar 16, 2026

@jamesramsden-bh to confirm, the following actions are now queued:

  • check ready-to-merge

@jamesramsden-bh jamesramsden-bh merged commit c449aac into develop Mar 16, 2026
12 checks passed
@jamesramsden-bh jamesramsden-bh deleted the Python_Toolkit-#205-FixPYTHONHOME branch March 16, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Error or unexpected behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Grasshopper in rhino 8 causes very strange errors when running install methods

2 participants